<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>交流平台</title>
<link rel="stylesheet" type="text/css" href="../../webroot/css/mainpage.css" />
<!--<?php echo $this->Html->css('mainpage') ?>-->
<script type="text/javascript" src="../../webroot/js/jquery.js"></script>
<script type="text/javascript" src="../../webroot/js/blog.js"></script>

</head>

<!--上部导航-->
<div id = "welcome">
	<label>Welcome,xx!&nbsp;<a href = '#'>注销</a>&nbsp;&nbsp;</label>
</div>

<div id = "branding"><label>交流平台</div>
<!--搜索-->
<div id = "search">
	<input id = "inputBox"/>
	<button type = "submit" id = "searchBut">搜索</button>
</div>
<!--主窗口-->
<div id="container">
	<!--左部导航-->
	<div id = "mainNavigation">
		<div><a href = "#">我的博客</a>
		<ul>
			<li><a href = "#">发表日志</a></li>
			<li><a href = "#">草稿箱</a></li>
			<li><a href = "#">收藏夹</a></li>
		</ul>
		</div>
		<div><a href = "#">订阅器</a>
		<ul>
			<li>
				<a href = "#">我关注的人</a>
				<div id = "concernPerson"></div>
			</li>
			<li>
				<a href = "#">我关注的日志</a>
				<div id = "concernPost"></div>
			</li>
			<li><a href = "#">添加关注</a>
				<div id = "addConcern"></div>
			</li>
		</ul>
		</div>
	</div>
	<!--中间主内容-->
	<div id = "mainContent">
		<table id="maintable">
			<tr>
				<td id="itd">
					<div id="indent"></div>
				</td>
				<td>
				<div id="fixed">
					<div class = "post">
						<label>title:开始CakePHP之旅</label>
						<blockquote class="text">欢迎来到Cookbook有木有有木有有木有
						</blockquote>
						<div class = "postInf">
							<div class="left">
								<span>作者：xx</span>
								<span>发布时间：xx</span>
							</div>
							<div class="right">
								<span>收藏</span>
								<span>|</span>
								<span>转发</span>
								<span>|</span>
								<span>评论</span>
							</div>
						</div>
					</div>
					<div id = "write">
						<div id="wheader"><strong>写日志</strong></div>
						<div id="wmain">
							<div id = "wtitle">
								标题&nbsp;<input type = "text"/>
							</div>
							<div id = "tags">
								<div class = "tag">标签</div>
								<div class = "tag"><input type="checkbox"/>个人日志</div>
								<div class = "tag"><input type="checkbox"/>技术</div>
								<div class = "tag"><input type="checkbox"/>美图</div>
								<div class = "tag">
									<a id="addTag" href='javascript:void(0)'>添加自定义标签</a>
									<input id="tagName" type="text"/>
								</div>
							</div>
							<div id="postArea">
								<textarea></textarea>
								<div>
									<button>发表</button>
									<button>保存草稿</button>
									<button>取消</button>
								</div>
							</div>
						</div>
					</div>
					<div id = "edit">
						<div id="eheader"><strong>编辑</strong></div>
						<div id="emain">
							<div id = "etitle">
								标题&nbsp;<input type = "text"/>
							</div>
							<div id = "etags">
								<div class = "tag">标签</div>
								<div class = "tag"><input type="checkbox"/>个人日志</div>
								<div class = "tag"><input type="checkbox"/>技术</div>
								<div class = "tag"><input type="checkbox"/>美图</div>
								<div class = "tag">
									<a id="eaddTag" href='#'>添加自定义标签</a>
									<span id="eaddTagPanel"><input id="etagName" type="text"/></span>
								</div>
							</div>
							<div id="epostArea">
								<textarea></textarea>
								<div>
									<button>发表</button>
									<button>保存草稿</button>
									<button>取消</button>
								</div>
							</div>
						</div>
					</div>
				</div>
				</td>
			</tr>
		</table>
	</div>
</div>